<?php
use Mirage\Web;
/**
 * Description of MovieController
 * Date Created Mar 18, 2012 8:42:19 PM
 * @package 
 * @author Bryan Salazar
 * 
 */
class BaseMovieController extends \Mirage\Abstraction\AbstractController {
    public $defaultAction = 'overview';
    /**
     *
     * @var Mirage\Base\Renderer 
     */
    public $view;
    
    public function init() {
        $view = new Mirage\Base\Renderer();
        $viewPath = Web::app()->getModulePath() . '/movie/views';
        $view->setLayoutPath($viewPath.'/layouts');
        $view->setViewPath($viewPath);
        $view->layout = 'main';
        $this->view = $view;
    }
}
